<%--定制错误页面--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ page errorPage="error/500.jsp" %>

<html>
<head>
    <title>Title</title>
</head>
<body>

<% int i=1/0; %>

</body>
</html>
